package com.efounder.form;

import com.efounder.builder.base.data.EFDataSet;

import java.util.List;

public interface DataSetComponent {
	// DMComponent列表
	List<DMComponent> getDmCompList();
	void setDmCompList(List<DMComponent> value);
    // 与组件相关的操作
	EFDataSet getDataSet(String dataSetKey);
	List<String> getDataSetKey();
	List<String> getDOMetaData(String obj_id) ; // DOMetaData[]
	void insertDMComponent(DMComponent dmComponent);
	void removeDMComponent(DMComponent dmComponent);
	// 与导航相关的操作
	Object loadByParam(Object param, Object userObject);
 //   public  load(po : Object = null,userObject:Object=null) :Object;
//			public  save(showTooltip : Boolean = true, otherParam : Object = null) :Object;
//			public  first(po : JParamObject = null) :Object;
//			public  prior(po : JParamObject = null) :Object;
//			public  next(po : JParamObject = null) :Object;
//			public  last(po : JParamObject = null) :Object;
//			public  search(rowSet:EFRowSet) :Object;
//			// 与编缉相关的操作
//			public create() :Object;
//			
//			public createItem(itemContentID : String, isAppend : Boolean, customDataSetID : String = null) : EFRowSet;
//			public createPart(partCtnID : String, isAppend : Boolean, customDataSetID : String = null) : EFRowSet;
//			
//			public removeItem(itemContentID : String) : Boolean;
//			public removePart(itemContentID : String) : Boolean;
//			
//			public isModified():Boolean;
//			
//			public canEdit() :Object;
//			public startEdit() :Object;
//			public cancelEdit() :Object;
//			public stopEdit() :Object;
//			public isEditing():Boolean;		
}
